package com.lib.base.router

import android.net.Uri
import com.alibaba.android.arouter.facade.Postcard
import com.alibaba.android.arouter.launcher.ARouter

/**
 * 路由类
 */
object ARouterUtils {

    fun getInstance(): ARouter {
        return ARouter.getInstance()
    }

    fun build(path: String): Postcard {
        return getInstance().build(path)
    }

    fun build(url: Uri): Postcard {
        return getInstance().build(url)
    }
}